using BackData;
using Domain.DTOs.Warehouse;
using MediatR;

namespace Team.API.Applocation.Command.Warehouse.laneway
{
    /// <summary>
    /// 查询巷道列表命令
    /// </summary>
    public class GetLanewayListCommand : IRequest<APIResult<List<LanewayDTO>>>
    {
        /// <summary>
        /// 仓库ID（可选）
        /// </summary>
        public long? Warehouseid { get; set; }

        /// <summary>
        /// 巷道状态（可选）0-空闲中, 1-被占用, 2-维护中
        /// </summary>
        public int? Lanewaystate { get; set; }

        /// <summary>
        /// 巷道名称（模糊查询）
        /// </summary>
        public string? Lanewayname { get; set; }

        /// <summary>
        /// 是否只查询可用的巷道
        /// </summary>
        public bool? OnlyAvailable { get; set; }
    }
}
